package hotel.switchs.oversea.online.mapper;

import hotel.switchs.oversea.api.entity.SwitchSetRoomSaleRuleEntity;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

/**
 * @Author lmf
 * @Date 2020/7/16 14:27
 **/
public interface SwitchSetRoomSaleRuleMapper extends BaseMapper<SwitchSetRoomSaleRuleEntity> {
    /**
     * 根据售卖房型id取消规则
     * @param roomId
     * @return
     */
    SwitchSetRoomSaleRuleEntity selectRuleByRoomId(@Param("roomId") Integer roomId);
}
